package com.yanqu.road.entity.enums.activity.jiuzhou;

public enum eJiuZhouGameZoneType {

    elite("精英赛区", 1),

    master("宗师赛区", 2),

    king("王者赛区", 3),

    ;

    private String name;

    private int value;

    public String getName() {
        return name;
    }

    public int getValue() {
        return value;
    }

    eJiuZhouGameZoneType(String name, int value) {
        this.name = name;
        this.value = value;
    }

    public static eJiuZhouGameZoneType forValue(int value) {
        for (eJiuZhouGameZoneType type : eJiuZhouGameZoneType.values()) {
            if (type.getValue() == value) {
                return type;
            }
        }
        return null;
    }
}
